import Vue from 'vue'
import Router from 'vue-router'
import login from './views/login.vue'
import home from './views/home.vue'
import users from './views/users.vue'
Vue.use(Router)

export default new Router({
  routes: [
    { path: '/login', name: 'login', component: login},
    { path: '/home', name: 'home', component: home, children:[
      { path: 'users', component: users}
    ]},
  ]
})
